import javax.net.ssl.SSLContext;

public class Demo3 {

    public String name;
    public int age;
    public String id;


    public Demo3() {


        this("zhangsan", 39, "09235");
        System.out.println("Demo3构造方法");
    }

    {
        System.out.println("父类实例代码块");
    }

    static {
        System.out.println("父类静态代码块");
    }


    public Demo3(String p, int i, String s) {


        this.name = p;
        this.age = i;
        this.id = s;

    }
}

class test3 extends Demo3 {

    public String classroom;

    public test3() {

  this("java");
        System.out.println("test构造方法");
    }

    {
        System.out.println("子类实例代码块");
    }

    static {
        System.out.println("子类静态代码块");
    }
    public test3(String p) {
        this.classroom = p;
    }
}

class test4 {


    public static void main(String[] args) {

        test3 t = new test3();
        System.out.println("---------------");
        test3 t1 = new test3();

    }
}

final class V {
    public String a;
    public int b;
}

class C /*extends V*/{
    public int k;
    public double p;
}